<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<header style="background-color:#ddd; font-weight: bold">Thymeleaf案例</header>
<!--用数据模型中的msg属性替换h1标签的文本-->
</body>
<h1 th:text="${msg}">Thymeleaf</h1>
<footer id="ft" style="background-color: #eee">源辰公司</footer>
</html>